#include <QCoreApplication>
#include <math.h>
#include <iostream>
using namespace std;
 int main()
{
int a,P;
    cin >>a;
   P=a*4;
   cout<< P;
    return 0;
}
